#pragma once

#include <exception>
#include <iostream>
using namespace std;

class buildingException :
	public exception
{
private:
	int value;
public:

	buildingException()
	{
	}

	buildingException(int value)
	{
		this->value = value;
	}

	~buildingException()
	{
	}

	void print()
	{
		cout << "ERROR! supplied value = " << value << endl;
	}
};

